package com.jdd.modules.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jdd.modules.form.entity.FormParkTotalInfo;
import com.jdd.modules.order.entity.DailyOrderInfo;
import com.jdd.modules.order.entity.ParkOrderInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 停车订单详情管理
 * @Author: jdd
 * @Date: 2021-03-01
 * @Version: V1.0
 */
public interface IParkOrderInfoService extends IService<ParkOrderInfo> {


    /**
     * 订单详情
     *
     * @param createTime
     * @return
     */
    List<DailyOrderInfo> orderDetail(@Param("createTime") String createTime);

    /**
     * 今日订单详情
     *
     * @return
     */
    DailyOrderInfo todayOrderDetail();

    /**
     * 订单详情列表
     *
     * @return
     */
    List<ParkOrderInfo> orderDetailList();

    /**
     * 订单，收入
     *
     * @param startTime
     * @param endTime
     * @return
     */
    FormParkTotalInfo dailyOrderPayTypeNumberAndIncome(@Param("startTime") String startTime, @Param("endTime") String endTime);

}
